<?php
include('../../include/functions.inc.php');
$user = unserialize($_SESSION['user']);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>Reimpresion </title>
        <link href="../../bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css" />
        <link href="../../css/ContentStyle.css" rel="stylesheet" type="text/css" />
        <link href="../../css/ContentStyle.css" rel="stylesheet" type="text/css" />
        <link href="../../js/dialog/dialog.2.0.css" rel="stylesheet" type="text/css" />
        <script src="../../js/prototype.js" type="text/javascript"></script>
        <script src="../../js/jquery.js" type="text/javascript"></script>
        <script>jQuery.noConflict();</script>
        <script src="../../bootstrap/js/bootstrap.js"></script>
        <script src="../../js/dialog/dialog.2.0.js" type="text/javascript"></script>
        <script src="../../js/include.js" type="text/javascript"></script>
        <script type="text/javascript">
            function doSubmit(){
                waitMsg("Guardando...");
                $(document.form1).request({onComplete:function(r){
                        closeWait();
                        alert(r.responseText);
                        $(document.form1).reset();                        
                    }});
            }
        </script>

    </head>

    <body>
        <div id="tabs">
            <ul class="nav nav-tabs">
                <li class="active">
                    <a>Anulación de facturas</a>
                </li>
            </ul>
        </div>
        <div id="tabs-cont">
            <div id="rsvErrors"></div>
            <form id="form1" name="form1" method="get" action="data.php">
                    <legend>Factura</legend>
                        <label for="SERIE">SERIE</label>
                        <input name="SERIE" type="text" id="SERIE" size="10" />
                        <label for="NUMERO">NÚMERO</label>
                        <input name="NUMERO" type="text" id="NUMERO" value="" size="30"  />
                        <input name="operation" type="hidden" id="operation" value="anula" /><br/>        
                        <input name="Botón" type="button" class="btn btn-info" onclick="doSubmit();" value="Anular" />
            </form>
        </div>
    </body>
</html>
